home *** CD-ROM | disk | FTP | other *** search
/ Programming a Multiplayer FPS in DirectX / Programming a Multiplayer FPS in DirectX (Companion CD).iso / Paint Shop Pro / PSP900enTR.exe / Data1.cab / _54E257125EB744C0875ACBDA78632D69 < prev    next >
Encoding:
Text File  |  2004-08-16  |  2.6 KB  |  76 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'Jasc Software, Inc.',
  6.         'Copyright': u'2004',
  7.         'Description': u'',
  8.         'Host': u'Paint Shop Pro 9',
  9.         'Host Version': u'9.00'
  10.         }
  11.  
  12.  
  13. def Do(Environment):
  14.     # EnableOptimizedScriptUndo
  15.     App.Do( Environment, 'EnableOptimizedScriptUndo', {
  16.             'GeneralSettings': {
  17.                 'ExecutionMode': App.Constants.ExecutionMode.Silent, 
  18.                 'AutoActionMode': App.Constants.AutoActionMode.Match, 
  19.                 'Version': ((9,0,0),1)
  20.                 }
  21.             }) 
  22.  
  23.     # PresetShapes
  24.     App.Do( Environment, 'PresetShapes', {
  25.             'LineWidth': 3, 
  26.             'Angle': 0, 
  27.             'ConstrainRect': False, 
  28.             'Antialias': True, 
  29.             'BBox': ((32.5,52.5), 138, 107), 
  30.             'Fill': {
  31.                 'Color': (192,192,192), 
  32.                 'Pattern': None, 
  33.                 'Gradient': None, 
  34.                 'Texture': None, 
  35.                 'Art': None
  36.                 }, 
  37.             'Stroke': {
  38.                 'Color': (0,0,255), 
  39.                 'Pattern': None, 
  40.                 'Gradient': None, 
  41.                 'Texture': None, 
  42.                 'Art': None
  43.                 }, 
  44.             'JointStyle': App.Constants.JointStyle.Miter, 
  45.             'CreateAsVector': True, 
  46.             'RetainStyle': False, 
  47.             'LineStyle': {
  48.                 'Name': u'+Solid', 
  49.                 'FirstCap': (u'Butt',7.21,7.21), 
  50.                 'LastCap': (u'Butt',1,1), 
  51.                 'FirstSegCap': None, 
  52.                 'LastSegCap': None, 
  53.                 'UseSegmentCaps': False, 
  54.                 'Segments': None
  55.                 }, 
  56.             'LineStyleIndex': 0, 
  57.             'ShapeName': u'+Callout 1', 
  58.             'ShapeOrientation': App.Constants.Orientation.Normal, 
  59.             'keShapeIconSizeLarge': True, 
  60.             'Position': (32.5,52.5), 
  61.             'LeftTop': (32.5,52.5), 
  62.             'RightBottom': (170.5,159.5), 
  63.             'RotationMode': 0, 
  64.             'MiterLimit': 15, 
  65.             'StyledLineCategory': u'All', 
  66.             'StyledLineView': App.Constants.ResourceListView.SmallThumbnails, 
  67.             'PresetShapeCategory': u'All', 
  68.             'PresetShapeView': App.Constants.ResourceListView.LargeThumbnails, 
  69.             'GeneralSettings': {
  70.                 'ExecutionMode': App.Constants.ExecutionMode.Silent, 
  71.                 'AutoActionMode': App.Constants.AutoActionMode.Match, 
  72.                 'Version': ((9,0,0),1)
  73.                 }
  74.             }) 
  75.  
  76.